package com.practice.system.controller;


import com.practice.system.service.PAndmService;
import com.practice.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/pandm")
public class PAndmController {
    @Autowired
    PAndmService pAndmService;
    @PostMapping("/list")
    public R list(@RequestBody Map<String,Object> params){
        return pAndmService.list(params);
    }
}
